package pack0618;

import java.util.Scanner;
import java.util.jar.JarOutputStream;

public class DemoD {
    public static void main(String[] args) {
        Scanner num = new Scanner(System.in);

        for (int i = 1; i < 6; i++) {
            for (int k = 1; k <6 - i; k++) {
                System.out.print(" ");
            }
            for (int u= 1; u <=i; u++) {
                System.out.print("*"+" ");
            }
            System.out.println();
        }
        for (int i=1;i<5;i++){
            for (int k=1;k<=i;k++){
                System.out.print(" ");
            }
            for (int u=1;u<6-i;u++){
                System.out.print("*"+" ");
            }
            System.out.println();
        }
    }
}
